package com.console.pages.planmgr;

import com.common.test.DefaultElement;
import com.common.test.FindElement;
import com.common.test.PageBase;
import com.common.test.UITestBase;

public class FinancePlanLoanCreditPage extends PageBase {

	public FinancePlanLoanCreditPage(UITestBase tb){
		super(tb);
	}
	
	@FindElement(findName = "id", findValue="beginDate", desc="开始日期控件")
	public DefaultElement beginDateInput;
	@FindElement(findName = "id", findValue="endDate", desc="结束日期控件")
	public DefaultElement endDateInput;
	@FindElement(findName = "xpath", findValue="//div[text()='理财计划债权']", desc="标题栏")
	public DefaultElement titlediv;
	@FindElement(findName = "xpath", findValue="//ul[@class='pagination']", desc="页数控件")
	public DefaultElement pagination;
	@FindElement(findName = "xpath", findValue="//ul[@class='pagination']/li[last()]/a", desc="分页最后一链接")
	public DefaultElement lastpageLink;
	@FindElement(findName = "xpath", findValue="", desc="当前页链接上一层li")
	public DefaultElement presentpageLinkli;
	@FindElement(findName = "linkText", findValue="", desc="当前页码链接")
	public DefaultElement presentpageLink;
	@FindElement(findName = "xpath", findValue="(//tr[@ng-repeat='loan in loans']/td[1])[1]", desc="序号控件")
	public DefaultElement sequenceEle;
	@FindElement(findName = "xpath", findValue="(//tr[@ng-repeat='loan in loans']/td[2])[1]", desc="债权名称控件")
	public DefaultElement financeplanLoannameEle;
	@FindElement(findName = "xpath", findValue="(//a[text()='详情'])[1]", desc="详情链接")
	public DefaultElement detailsLnk;
	@FindElement(findName = "xpath", findValue="//button[span[contains(text(),'放款')]]", desc="放款按钮")
	public DefaultElement lendButton;
	@FindElement(findName = "xpath", findValue="//button[contains(text(),'确定')]", desc="确定按钮")
	public DefaultElement assureButton;
}
